/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Like
 * Date: 2021-07-14
 * Time: 9:05
 */

public class ChildClass extends FatherClass{

    public ChildClass(int i){
        //表示调用父类的有参构造方法
        super(i);
        i++;
        System.out.println(i);
    }

    public static void main(String[] args) {
        new ChildClass(5);
    }
}
